/**
 * 提现管理路由
 * @description 提现相关的路由配置
 */
import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {WithdrawCashIndexComponent} from "./withdraw-cash-index/withdraw-cash.component";
import {WithdrawCashApplyComponent} from "./withdraw-cash-apply/withdraw-cash-apply.component";
import {AlipayComponent} from "./alipay/alipay.component";


const withdrawRoutings: Routes = [
  {path: '', redirectTo: 'withdraw-cash-index', pathMatch: 'full'}
  , {path: 'withdraw-cash-index', component: WithdrawCashIndexComponent} // 提现首页
  , {path: 'withdraw-cash-apply', component: WithdrawCashApplyComponent} // 提现申请
  , {path: 'alipay', component: AlipayComponent} // 填写/修改支付宝
];

@NgModule({
  imports: [RouterModule.forChild(withdrawRoutings)],
  exports: [RouterModule],
  providers: []
})

export class WithdrawRoutingModule {
}
